package my.headfirstjava.command.restaurant;

import java.util.List;

/**
 * author: xl
 * time: 2018/11/6 14:37
 * description:
 **/
public class kitchen implements Command {


    @Override
    public void command(List<String> orderList) {
        for (int i = 0; i < orderList.size(); i++) {
            String order = orderList.get(i);
            System.out.println("我炒了" + order);
        }
    }


}
